﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BestCode.Creds.Entities
{
    public class EntityChild : EntityId
    {
        
        private string name;
        private string picturesFolder;
        private EntityInfo entity;
        private decimal? credentialCost;

        public virtual string Name
        {
            get { return name; }
            set
            {
                name = value;
                this.FirePropertyChanged("Name");
            }
        }

        public virtual string PicturesFolder
        {
            get { return picturesFolder; }
            set
            {
                picturesFolder = value;
                this.FirePropertyChanged("PicturesFolder");
            }
        }

        public virtual EntityInfo Entity
        {
            get { return entity; }
            set
            {
                entity = value;
                this.FirePropertyChanged("Entity");
            }
        }

        public virtual decimal? CredentialCost
        {
            get { return credentialCost; }
            set
            {
                credentialCost = value;
                this.FirePropertyChanged("CredentialCost");
            }
        }

       
    }
}
